def usr_func():
    """
    练习返回多个返回值
    当有多个返回值时，以元组的形式返回
    :return:
    """
    print("开始测量...")
    temp = 39
    wetness = 10
    date = (2024, 12, 29)
    print("测量结束...")

    return temp, wetness, date


if __name__ == '__main__':
    ret = usr_func()
    print(ret)        # (39, 10, (2024, 12, 29))
    print(type(ret))  # <class 'tuple'>
